<template>
  <view class="account-container">
    <view class="menu-list">
      <!-- <view class="menu-item" @click="navTo('/pages/settings/change-pwd')">
        <text class="icon">🔒</text>
        <text class="title">修改密码</text>
        <uni-icons type="forward" size="16" color="#999" />
      </view> -->
    </view>
    
    <button class="logout-btn" @click="handleLogout">退出登录</button>
  </view>
</template>

<script>
export default {
  data() {
    return {
    }
  },
  methods: {
    handleLogout() {
      // 复用原有的退出逻辑
      uni.reLaunch({ url: '/pages/index/index' })
    }
  }
}
</script>

<style lang="scss" scoped>
.account-container {
  padding: 30rpx;
  
  .menu-item {
    .value {
      color: #666;
      font-size: 24rpx;
      margin-right: 10rpx;
    }
  }
  
  .logout-btn {
    margin-top: 40rpx;
    background: #fff;
    color: #e64340;
    border-radius: 50rpx;
  }
}
</style> 